<!--<?php
if($_viewer->part == 'urgent'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop"><span onclick="closep();" class="adel cp">关闭</span>加急房源</div>
<form action="{$_viewer->act[urgent]}" method="post">
<table style="width:480px">
	<tr class="tr3">
        <td colspan="2" class="popTip">1.房源加急后将在房源列表和房源详情页显示加急图标，浏览量大，效果明显。<br />2.管理员操作不扣除管理员积分</td>
    </tr>
</table>
<table style="width:480px">
	<tr class="tr3"><td width="80">操作类型</td><td class="td2">
		<label><input checked="checked" onclick="doAndCacle('urgent',1);" name="isurgent" value="1" type="radio" />加急</label> &nbsp;&nbsp;            
	 	<label><input name="isurgent" onclick="doAndCacle('urgent',0);" value="0" type="radio" />取消加急</label></td></tr>
	<tr class="tr3"><td>房源类型:</td><td>出租</td></tr>
	<tr class="tr3" id="pricetr" style="display:"><td width="80">价格:</td><td>{$_viewer->house_hire_rapidprice}{$_viewer->house_hire_rapidcredit}/天</td></tr>
	<tr class="tr3" id="daytr" style="display:"><td>加急天数:</td><td>
	<select name="days" onchange="document.getElementById('totalprice').innerHTML = {$_viewer->house_hire_rapidprice} * this.value">
		<option selected="selected" value="1">1</option>
		<option value="2">2</option>
		<option value="3">3</option>
		<option value="4">4</option>
		<option value="5">5</option>
		<option value="6">6</option>
		<option value="7">7</option>
		<option value="8">8</option>
		<option value="9">9</option>
		<option value="10">10</option>
	</select> 天
	</td></tr>
	<tr class="tr3" id="totaltr" style="display:"><td>总价:</td><td><span id="totalprice">{$_viewer->house_hire_rapidprice}</span>{$_viewer->house_hire_rapidcredit}</td></tr>
	<tr class="tr3" id="cretr" style="display:none"><td>退还积分</td><td class="td2"><label><input checked="checked" name="isback" value="1" type="radio" />启用</label> &nbsp;&nbsp; <label><input name="isback" vlaue="0" type="radio" />关闭</label></td></tr>
	<tr class="tr3" id="msgtr" style="display:none"><td>发送消息</td><td class="td2"><input checked="checked" name="ismsg" value="1" type="radio" />启用</label> &nbsp;&nbsp; <label><input name="ismsg" vlaue="0" type="radio" />关闭<label></td></tr>
</table>
<div class="popBottom">
<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="ajax.submit(this.form,ajax.guide);">提 交</button></span></span>
</form>
</div>
<!--
EOT;
}else if($_viewer->part == 'top'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop"><span onclick="closep();" class="adel cp">关闭</span>置顶操作</div>
	<form action="{$_viewer->act[top]}" method="post">
        <table style="width:480px">
            <tr class="tr3">
                <td colspan="2" class="popTip">1.房源置顶后将随机显示在房源列表的顶部，大幅提高房源曝光率。<br />2.管理员操作不扣除管理员积分</td>
            </tr>
        </table>
		<table style="width:480px">
			<tr class="tr3"><td width="80">操作类型</td><td class="td2">
				<label><input checked="checked" onclick="doAndCacle('top',1);"  name="istop" value="1" type="radio" />置顶</label>                
				<label><input onclick="doAndCacle('top',0);" name="istop" value="0" type="radio" />取消置顶</label></td></tr>
			<tr class="tr3"><td>房源类型:</td><td>出租</td></tr>
			<tr class="tr3" id="pricetr" style="display:"><td>价格:</td><td>{$_viewer->house_hire_topprice}{$_viewer->house_hire_topcredit}/天</td></tr>
			<tr class="tr3" id="daytr" style="display:"><td>置顶天数:</td><td>
			<select name="days" onchange="document.getElementById('totalprice').innerHTML = {$_viewer->house_hire_topprice} * this.value">
				<option selected="selected" value="1">1</option>
				<option value="2">2</option>
				<option value="3">3</option>
				<option value="4">4</option>
				<option value="5">5</option>
				<option value="6">6</option>
				<option value="7">7</option>
				<option value="8">8</option>
				<option value="9">9</option>
				<option value="10">10</option>
			</select> 天
			</td></tr>
			<tr class="tr3" id="totaltr" style="display:"><td>总价:</td><td><span id="totalprice">{$_viewer->house_hire_topprice}</span>{$_viewer->house_hire_topcredit}</td></tr>
			<tr class="tr3" id="cretr" style="display:none"><td>退还积分</td><td class="td2"><label><input checked="checked" name="isback" value="1" type="radio" />启用</label>                <label><input name="isback" vlaue="0" type="radio" />关闭</label></td></tr>
			<tr class="tr3" id="msgtr" style="display:none"><td>发送消息</td><td class="td2"><label><input checked="checked" name="ismsg" value="1" type="radio" />启用</label>                <label><input name="ismsg" vlaue="0" type="radio" />关闭</label></td></tr>
		</table>
		<div class="popBottom">
		<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="ajax.submit(this.form,ajax.guide);">提 交</button></span></span>
		</form>
	</div>
<!--
EOT;
}else if($_viewer->part == 'del'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop"><span onclick="closep();" class="adel cp">关闭</span>删除操作</div>
		<input type="hidden" name="price" value="{$_viewer->house_topprice}"/>
		
		<table style="width:300px">
			<tr class="tr3"><td width="80">确认删除所选记录？</td></tr>
		</table>
		<div class="popBottom">
		<span class="btn2"><span><button type="button" name="ajaxsubmit" onclick="sendmsg('{$_viewer->act[delete]}');">提 交</button></span></span>
</div>
<!--
EOT;
}else if($_viewer->part == 'report'){
print <<<EOT
-->
<div onmousedown="read.move(event);" style="cursor: move;" class="popTop">
<span onclick="closep();" class="adel">删除</span>出租房源举报</div>
<table width="380" cellspacing="0" cellpadding="0">
	<tbody>
		<tr>
			<td>
				感谢您能一起协助我们管理站点，我们会尽快处理您的举报内容！
			</td>
		</tr>
		<tr>
			<td>
				<div class="p10">
					<textarea class="textareaA" name="reason" id="reason"></textarea>
				</div>
			</td>
		</tr>
		<tr style="display:none">
			<td>
				<div style="margin-left: 5px;">
					<label>
						<input type="checkbox" value="1" name="ifsendmsg" id="ifsendmsg" />发信息通知版主
					</label>
				</div>
			</td>
		</tr>
	</tbody>
</table>
<div class="popBottom">
	<span class="btn2">
		<span>
			<button onclick="sendmsg('{$_viewer->act[report]}',reportData());" type="button">提 交</button>
		</span>
	</span>
</div>
<!--
EOT;
}
?>-->